﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucSlider.ascx.cs" Inherits="Controls_ucSlider" %>
<div id="featured">
    <ul class="ui-tabs-nav">
        <asp:Repeater ID="rptThumb" runat="server">
            <ItemTemplate>
                <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-<%#Container.ItemIndex+1 %>">
                    <a href="#fragment-<%#Container.ItemIndex+1 %>">
                        <img src="../upload/news/<%#Eval("THUMB_IMG") %>" alt="" width="65" height="65" /><span><%#Eval("FULL_ARTICLE_TITLE") %></span>
                        <br />
                        <span>
                            <%#LibraryO2S.O2S_StringUtil.Substring(Eval("FULL_ARTICLE_DESCRIPTION").ToString(),0,60) %></span>
                    </a></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <asp:Repeater ID="rptLargeThumb" runat="server">
        <ItemTemplate>
            <div id="fragment-<%#Container.ItemIndex+1 %>" class="ui-tabs-panel" style="">
                <img src="../images/thumb_slider.png" alt="" style="float: left" />
                <div class="info">
                    <h2>
                        <a href="../pages/NewsByID.aspx?id=<%#Eval("ARTICLE_ID") %>">
                            <%#Eval("FULL_ARTICLE_TITLE") %></a></h2>
                    <p>
                        <%#Eval("FULL_ARTICLE_DESCRIPTION") %><%--<a href="#">read more</a>--%></p>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
<div class="main_seperator" style="margin-top: 20px">
</div>
